{% from "header.jinja" import header %}

"""{{ header() }}"""

from typing import TYPE_CHECKING

if TYPE_CHECKING:
    {% for group in groups %}
    {% for model in group.models %}
    from .{{ group_name(group, groups) }} import {{ model.class_name }} as {{ model.class_name }}
    {% endfor %}
    {% endfor %}
else:
    __lazy_vars__ = {
        {% for group in groups %}
        ".{{ group_name(group, groups) }}": (
            {% for model in group.models %}
            "{{ model.class_name }}",
            {% endfor %}
        ),
        {% endfor %}
    }
